package de.koller.enc;

import de.koller.oceanFramework.gl.OceanGame;
import javax.swing.UIManager;

public class EncStart {
	
	public static void main( String[] args ) {
		try {
//			UIManager.setLookAndFeel( "javax.swing.plaf.nimbus.NimbusLookAndFeel" );
//			UIManager.setLookAndFeel( "com.sun.java.swing.plaf.motif.MotifLookAndFeel" );
//			UIManager.setLookAndFeel( UIManager.getCrossPlatformLookAndFeelClassName() );
			UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );
		} catch( Exception e ) {
			System.out.println("Error setting native LAF: " + e);
		}
		
		OceanGame.enableClientChoose = false;
		OceanGame game = OceanGame.create( "WROOT", 800, 600, 32, 60, false, false );
		game.getRoot().addChild( new EncRoot() );
		game.start();

	}
	
}
